<?php

namespace app\common\model;

use fast\Random;
use think\Model;

class ExpressOrder extends Model
{
    public $autoWriteTimestamp = "init";

    public $createTime = "createtime";

    public $updateTime = "updatetime";

    public function setOrderNoAttr($value)
    {
        return "KD".date("YmdHis").Random::numeric(6);
    }

}